﻿using System;
using System.Collections.Generic;
using System.Text;
using CuteAnt.OrmLite;

// 测试数据库：http://pan.baidu.com/s/1bn8fPX9
//             下载完毕，解压到执行目录 Data目录下

namespace XiaoMIDataTran
{
	public class XiaoMIShard : ShardingProvider<xiaomi, Int32>
	{
		public XiaoMIShard()
		{
			DbProviderName = "MsSql";
		}

		public XiaoMIShard(String dbProviderName)
		{
			DbProviderName = dbProviderName;
		}

		public override void StartupBySerializedShardingKey(String shardingKey)
		{
		}

		public override void Startup(Int32 shardingKey)
		{
		}
	}

	public class XiaoMIShardFactory : ShardingProviderFactory<XiaoMIShardFactory, XiaoMIShard, xiaomi, Int32> { }
}
